package com.boot.sentinelHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.entities.CommonResult;
import com.entities.Payment;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 05-08-21:43
 */
public class BlockHandler {

    public static CommonResult<Payment> test03(Integer id , BlockException blockException){
        return new CommonResult<>("BlockHandler sentinel配置限流降级",444,new Payment(5L,"errorSerial"));
    }
}
